<table>
    <tr>
        <th>Titel</th><th>Text</th><th>level</th><th>Action</th>
    </tr>
    <?php foreach ($comments as $comment) : ?> 
        <tr>
            <td> 
                <?php echo $comment->title; ?>
            </td> 
            <td> 
                <?php echo $comment->text; ?>
            </td>  
            <td> 
                <?php echo $comment->level; ?>
            </td> 
            <td> 
                <?php echo anchor(base_url() . 'comment/delete/' . $comment->id, 'delete'); ?>
                <?php echo anchor(base_url() . 'comment/edit/' . $comment->id, 'edit'); ?>
                <?php echo anchor(base_url() . 'comment/response/' . $comment->id, 'response'); ?>
            </td> 
        </tr>
    <?php endforeach; ?> 
</table>




